//
//  MBProgressHUD+showHUDs.h
//  ExcellentArtProject
//
//  Created by moduimen on 16/5/13.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

@interface MBProgressHUD (showHUDs)

+ (MBProgressHUD *)showProgress:(NSString *)message;
+ (MBProgressHUD *)showProgress:(NSString *)message toView:(UIView *)view;

+ (MBProgressHUD *)showProgress:(NSString *)message mode:(MBProgressHUDMode)mode;
+ (MBProgressHUD *)showProgress:(NSString *)message mode:(MBProgressHUDMode)mode toView:(UIView *)view;

+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;

+ (void)showInfo:(NSString *)info;
+ (void)showInfo:(NSString *)info toView:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message autoHide:(BOOL)hide;
+ (MBProgressHUD *)showMessage:(NSString *)message autoHide:(BOOL)hide toView:(UIView *)view;

+ (void)hideHUD;
+ (void)hideHUDForView:(UIView *)view;

@end
